<%--
    author: Ivan Holub
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Buildings</title>
</head>
<body>

<h3>Buildings:</h3>

<p>
    Size: <c:out value="${buildingsSize}"/>
</p>

<table>
    <tr>
        <th>lat</th>
        <th>lon</th>
        <th>housenumber</th>
        <th>street</th>
    </tr>
    <c:forEach items="${buildings}" var="building">
        <tr>
            <td><c:out value="${building.geoPt.latitude}"/></td>
            <td><c:out value="${building.geoPt.longitude}"/></td>
            <td><c:out value="${building.housenumber}"/></td>
            <td><c:out value="${building.street}"/></td>
        </tr>
    </c:forEach>
</table>

</body>
</html>